package com.whminwei.edu.api.dc.client;

import com.whminwei.common.feign.decoder.FullHttpRspnConfig;
import com.whminwei.common.http.rspn.FullHttpResponse;
import com.whminwei.edu.api.dc.dto.feq.CommonFeq;
import com.whminwei.edu.api.dc.dto.fspn.other.DcMoralActivityFspn;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * 德育相关接口
 *
 * @author zhangjq
 * @since 2024-08-06
 */
@FeignClient(name = "xzzg-pt-other-service", contextId = "datacenter-moral", configuration = FullHttpRspnConfig.class)
public interface DcOtherMoralClient {

    /**
     * 获取德育活动信息
     *
     * @return com.whminwei.common.http.rspn.FullHttpResponse<com.whminwei.edu.api.dc.dto.fspn.other.DcMoralActivityFspn>
     * @author zhangjq
     * @since 2024-08-06
     */
    @PostMapping("/datacenter/getMoralActivityInfo")
    FullHttpResponse<DcMoralActivityFspn> getMoralActivityInfo(CommonFeq feq);
}
